package com.example.springboot.service;

import com.example.springboot.controller.dto.LoginDTO;
import com.example.springboot.controller.requests.BaseRequst;
import com.example.springboot.controller.requests.CategaryPageRequest;
import com.example.springboot.controller.requests.LoginRequest;
import com.example.springboot.controller.requests.changePassRequest;
import com.example.springboot.entity.Admin;
import com.example.springboot.entity.Categary;
import com.github.pagehelper.PageInfo;
import jdk.jfr.Category;

import java.util.List;

//@Service
public interface ICategrarySeivice {
    List<Categary> list();

    Object page(CategaryPageRequest userPageRequst);

    void save(Categary user);

    Categary getByid(Integer id);

    void update(Categary user);

    void delete(Integer id);
}
